﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BDAlertorApp.Model;
using BDAlertorApp.Util;

namespace BDAlertorApp.Protocol
{
    public class ReceiveProtocol
    {
        public static BdPacketData DecodeProtocol(byte[] bytes)
        {
            BdPacketData bdPacketData = new BdPacketData();
            bdPacketData.ReadFromBytes(bytes);
  

            return bdPacketData;
        }
    }
}
